PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Jun 25, 2018 6:43 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Jan 05, 2014 2:19 am 
Offline
Forum Commoner
User avatar

Joined: Fri Jan 03, 2014 6:30 am
Posts: 95
Location: Vancouver Canada
I was wondering what kind of risk is involved when allowing people to upload a file to my website. I know there is a way of filtering the kind of file that can be uploaded like .jpg or .png or .gif or tiff. but what if someone just write an executable routine and give it the extension jpg for example? I am really new at programing but I know some people are real magicians with codes and can do anything they want. is this possible to do? can I get my site wiped out by something like that?


Top
 Profile  
 
PostPosted: Sun Jan 05, 2014 5:14 am 
Offline
DevNet Master
User avatar

Joined: Sun Feb 15, 2009 12:08 pm
Posts: 2794
Location: .za
http://security.stackexchange.com/questions/503/what-are-the-security-risks-of-letting-the-users-upload-content-to-my-site

_________________
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering


Top
 Profile  
 
PostPosted: Sun Jan 05, 2014 3:32 pm 
Offline
Forum Commoner
User avatar

Joined: Fri Jan 03, 2014 6:30 am
Posts: 95
Location: Vancouver Canada
thank you immensely.


Top
 Profile  
 
PostPosted: Sun Jan 05, 2014 3:35 pm 
Offline
DevNet Master
User avatar

Joined: Sun Feb 15, 2009 12:08 pm
Posts: 2794
Location: .za
jaad wrote:
thank you immensely.

no problem sir :)

_________________
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group