A scary thought...

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Bongulim
Forum Newbie
Posts: 21
Joined: Thu Aug 07, 2003 12:50 pm

A scary thought...

Post by Bongulim »

Can a web page just grab any file it wants to the server? think about it: when doing an upload to a hosting service, it usually gives a form with a space to enter filename and a browse button. than you browse and click upload, and it sends the file to the server. what prevents the server from doing so for virtually any file and without notifieng you??
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

Technically, you do. you can't just have a script upload any file. A user has to first "post" it via an HTML form.
Bongulim
Forum Newbie
Posts: 21
Joined: Thu Aug 07, 2003 12:50 pm

Post by Bongulim »

what about just instead of clicking browse and submit, just have some javascript to automatically send, just like in clicking submit, some file... I don't see why it's not possible.
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

Try it out.
Image Image
Post Reply