/    Sign up×
Community /Pin to ProfileBookmark

website access code

Hello, the website i am creating is not for the public but only for a certain group. How do I set-up an access code to enter the website??
Thanks? :

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@FriendInNeedJul 07.2007 — It depends on your hosting. Some hosts offer password protected space. Also, If you have asp.net hosting and know how to use it, you can put a textbox at the top and have an if statement around the rest of the webpage. (if textbox1.text = "password" then...") This wont work for pictures and stuff though. If your interested in learning more about asp.net, id suggest "asp.net for dummies". I read it and learned a lot.
Copy linkTweet thisAlerts:
@the_treeJul 07.2007 — Hello, the website i am creating is not for the public but only for a certain group. How do I set-up an access code to enter the website??

Thanks? :[/QUOTE]
The first thing you have to understand is that this is not an HTML issue at all. HTML is really little more than file-format*, what you're talking about is a case of actual processing going on at the server, which is why it's called [i]server-side processing[/i]. What you do next depends on what your host is capable of (what type of server they have, basically) and what they allow.

The easiest way to do this is using a feature of the Apache server called .htaccess, if you're using Apache hosting then ask your host if they allow use of .htaccess and we'll work from there.

[SIZE="1"]*not even that if you're being pedantic.[/SIZE]
Copy linkTweet thisAlerts:
@weblearnerauthorJul 08.2007 — [B][I][COLOR="Indigo"]Thank you very much[/COLOR][/I][/B]!
×

Success!

Help @weblearner spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...