Home
Help
Login
Register
LATEST NEWS:
What Features Do You Want To See On Paid Hosting?
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Helping Webmasters - Website Support and Webmaster Forum
Web Design & Developement
Programming
Hide files
Pages: [
1
]
« previous
next »
Send this topic
|
Print
Topic: Hide files (Read 910 times)
Hide files
« on: May 31, 2008, 11:08:04 AM »
martin
Newbie
Posts: 2
How can I prevent users from see certain files from their browser? For instance if I make a file containing passwords I don't want anybody to be able to read it but at the same time it must be readable for scripts. Is this possible?
Report to moderator
Logged
Re: Hide files
« Reply #1 on: June 12, 2008, 12:34:45 AM »
chickenmeister
master of chickens
Global Moderator
Member
Posts: 220
You can change the permissions on the file (via chmod, etc), such that others cannot access the file. However, this won't work if your on a free t35 hosting plan, as it disregards file permissions.
Report to moderator
Logged
Hello world!
Re: Hide files
« Reply #2 on: June 12, 2008, 08:36:28 AM »
Alex Melen
President / Founder
Administrator
Addict
Posts: 2,174
You should be able to chmod permissions on free hosting. You just can't use any permission based commands via .htaccess (since that's disabled). I know a few of our members use php password protection scripts (I remember there was one on hotscripts that was popular).
Report to moderator
Logged
www.T35.com - Free Web Hosting
www.AlexMelen.com - About Me
Re: Hide files
« Reply #3 on: June 12, 2008, 06:27:49 PM »
martin
Newbie
Posts: 2
Thank's for your replies, guys.
I've already solved it by just storing the hashed password.
Report to moderator
Logged
Re: Hide files
« Reply #4 on: August 24, 2008, 01:03:28 PM »
Webbie
Newbie
Posts: 10
You could also set the permission via .htaccess file in your public_html folder.
Report to moderator
Logged
Pages: [
1
]
Send this topic
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General and Business Discussion
=> Introductions
=> Web Hosting Forum
=> Website Reviews
=> How To's & Tutorials
=> Web Hosting Blog
-----------------------------
T35 Hosting Support
-----------------------------
=> Announcements
=> Pre-Sales Inquiries
=> Free Hosting General Support
=> Free Hosting Login Support
=> Free Hosting Domain Support
=> Paid Hosting General Support
=> Paid Hosting cPanel & Fantastico Support
=> T35 Hosting Testimonials
=> T35 Hosting Suggestions
-----------------------------
Web Design & Developement
-----------------------------
=> Web Design / HTML
=> Programming
=> Graphic Design
=> Useful Resources
-----------------------------
Revenue & Traffic
-----------------------------
=> Ad Revenue
=> Search Engine Optimization
-----------------------------
Market Place
-----------------------------
=> Sites & Domains for Sale
=> Trade Services / Employment
=> Contests
=> Site Promotion
Powered by SMF
|
SMF © 2006-2008, Simple Machines LLC