PDA

View Full Version : Opening one folder so I can link to photos from other website forums


Kuma11
2-16-07, 10:21 AM
How do I implement a folder under htdocs so it's 'open', but none of the other folders under htdocs are open?

I want someplace to put photos then link to them from other forum websites, i.e., I don't want the folks who click on the link I imbed in the other forums to have to sign-in to view the picture, I want it to simply come up for them. BUT, I don't want any of the other folders under Htdocs to be open.

How do I do that?

Croc Hunter
2-16-07, 11:24 AM
I'm not sure I understand you. You currently have no folders under htdocs visable? You can't un-protect a particular folder from password protection. All sub folders to the protected one are protected as well. Perhaps a subdomain might be a viable option? You can create one in OPS say pix for example, the link would then be; http://pix.domain.com/image.jpg

entrecon
2-16-07, 12:47 PM
I think what they are looking for is either a CHMOD solution OR some kind of login type feature to limit access to certain files on their site.

Kuma11
2-16-07, 02:14 PM
I guess I better test a little first... I'm sure I'm not asking the correct question, but I'm also not sure HOW to ask the correct question.

Croc Hunter
2-16-07, 02:51 PM
No you asked just fine.

"How do I implement a folder under htdocs so it's 'open', but none of the other folders under htdocs are open?"

You can Chmod the folders/files you don't want seen to 455. (This prohibits all but FTP access). You can Google htaccess codes and try to circumvent Powwebs standard Allow/Deny commands. 3rd party software is another option.

Kuma11
2-16-07, 05:10 PM
Thanks Croc Hunter... That helped.