Forum Moderators: phranque

Message Too Old, No Replies

.htaccess question

.htaccess how to limit directory to the webserver only.

         

BrandonVM

1:51 am on Dec 26, 2004 (gmt 0)



Ok I have a site where the users login with there password and Id. and I have a few features in it like an uploader where they can upload pictures and etc.

What my problem is, is that the uploader I have is at like uploader.fsfsf.net its on a subdomain of my site and im using an iframe to have it displayed on my web page.

I want to make it so that when you goto uploader.fsfsf.net its not accessible but when the browser shows it in the iframe you can see it. Is there a way i can do that?

Prohibited

1:47 am on Dec 28, 2004 (gmt 0)

10+ Year Member



Unsure exactly what you're talking about, but I'll try and answer it.

Well if you're talking about making it password protected with the .HTACCESS you must make a folder like /fileupload and put the files in there. If you'd like to make it so when the file uploads if you're using perl/php other SSS make the upload.pl/php(SSS) which ever you're using in a sperate folder and put the .htaccess in there. That way they'll see the upload.htm/html or w/e and when it tries to go to the upload.pl/cgi/php (SSS) it gives it a password prompt.

Sorry if that didn't answer, but my time is limited on the net as I code my own site and I didn't understand the question very well.