Jump to content

Recommended Posts

Posted

I am looking into developing a GPRS logger which requires to upload files to a server. As I don't have the code space or time to develop a simple FTP client, I am looking into using the HTTP PUT method.

 

What would I need to do to create a folder (or a subdomain) which was password protected, using only basic authentication.

 

Searching around, there seems to be a bit of a discussion about security issues and the PUT method. Other than using basic authentication, what other security issues would there be ?

 

Regards

Mike

Posted

Further to this.. I believe I need to add a 'Script' directive.. e.g.

 

Script PUT cgi-bin/put.pl where put.pl creates the file required.

 

However, adding the Script directive to a .htaccess file within the subdomain's folder causes internal server errors with an error message "...../.htaccess: Script not allowed here"

 

Anyone know how I can get around this ?

 

I am going to try add a script handler based on mime type (and create a mime type for my logged files).

 

Mike

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...