Question about web hosting

NamecheapNamecheap
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

rongshihong

Established Member
Impact
5
Hi, I have a question about my web hosting.

How cay I create a login box when someone access to my website? Say, I don't want everyone to be able to view the folder http://www.domain.com/picture

How should I configure the settings so that when people visit that url, there'll be a login box poping up and requiring you to enter username and password?

Thank you in advance.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Hi - Well you can either use something like this http://www.webmaster-toolkit.com/htaccess-generator.shtml, read up on .htaccess and do it manually or if you look in your cpanel (or whichever admin system you use) you'll most likely see something called 'password protect folders' or similar and that will allow you to set up basic secuirty on folders using .htaccess.

Good luck

Lux
 
1
Close
Thank you Lux for your fast and detailed reply.
I found the password protect under my cpanel and have set it up.

Namepros is really nice with lots of kind members around.
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back