Tag Archives: Password Protected

Password-protect my whole site.

I want to password-protect the whole site. I’ve got CPanel nonetheless it won’t allow to do the / (public_html) seeing that password-protected. How do you do that: vintage: The best technique I’ve found is to use a mix of a single server-side include along with a session variable, i always tie into the unique identifier on the database. The pseudo-code would be something like this kind of: — Site determines session variable to check out if user can be logged in. — in the event user is logged with, he/she can log onto the site — if user is not logged in, he/she is redirected into a login page — if customer attempts to sign in and match is found in database, unique identifier is retrieved and composed to session variable Certainly, the exact syntax will depend on your programming dialect, but you have the idea. Uhm yes! But i’m not thinking about doing a entire PHP programming just for this. Can’t this be done which has a single. htaccess report i have got never used the. htaccess file but i assume it could, and there may be a tool above each of the forums to produce one. yep saw … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

.htaccess password protected directories

Relating to the following composition in my website /main < — root directory /main/templates < — THE directory in main. My personal. htaccess file was in the root directory My personal. htpasswd is while in the template directory Protected password box springs up it won’t accept my password. . htaccess Code: AuthName " Admin Panel" AuthType Simple AuthUserFile /templates/. htpasswd require valid-user . htpasswd Code: user: password What feel i doing erroneous Just your word of notice; its not safe to put htpasswd files within web accessible files, even if there’re protected. If you could place them inside a directory outside of the main site folder (if your hosting company lets you do this) it will be more secure. At this point, onto the difficulty. Is your password encoded Theres a strong explaination here on how you can do it. This may solve your problems, but I cant basically see whats possibly not working here. MY SPOUSE AND I always find htaccess valuable, but configured in another way to on every device! : play: You ought to encrypt the passwords.

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , | Leave a comment

sending people to next page after password protected homepage ?

My business is new here and also I’m needing to figure out where to edit a bit in this script. I’m needing to learn where to place the page in this kind of script where people are going to be directed to right out the password protected home-page. Can anyone aid me My up coming page is community forums. html Many thanks. < center> < variety name=login> < kitchen table cellspacing=" 0" cellpadding=" 1" background=" background. gif" > < tr> < td colspan=2 align=center> < font size=" +2" color=" yellow" > < b> Members-Only Spot! < /b> < /font> < /td> < /tr> < tr> < td> < font color=" yellow" > < b> Username: < /b> < /font> < /td> < td> < choose name=memlist> < choice value=’x’> < choice value=’Jeremy21870JNDEX’> Jeremy < choice value=’Chris0INDEX’> Chris < /select> < /td> < /tr> < tr> < td> < font color=" yellow" > < b> Password: < /b> < /font> < /td> < td> < enter type=password size=10 maxlength=8 name=pass> < /td> < /tr> < tr> < td colspan=2 align=center> < enter type=button value=" Login" onclick=" check(this. form)" > < /td> < /tr> < /table> < /form> < SCRIPT LANGUAGE=" JavaScript" … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Customer comment page with password

Hi, im sort of an newbie on style., i know that basic and procured me ages to obtain a cgi form snail mail working, then changed server and it also wont work agai but i’ll work on which. I keep asking if there is often a script/ template and so forth for customers with mine can keep feedback. I dont desire any willy nilly particular person leaving rubbish so must be password protected i always can give to people. a single password can be fine, jsut something to quit idiots leaving waste. Also so i will remove a comment only choose so., Thanks for virtually any help in move forward Stuee www. disc-o-stu. com Well if you are going to have got a password type technique you’re gonna have got to learn PHP and MYSQL. I would also use PHP on your mailing stuff, it’s a bit easier than CGI for me at least. To explain if you can not know. PHP can be a language that may send or retrieve the words to/from a data source (MYSQL) which holds the words. It’s a pretty complicated developed you have if you can not know PHP in addition to MYSQL. Hopefully … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , | Leave a comment