Password protecting a webpage.

I'd like to password protect one page on my website. How do I do that?

Hi Jennifer,
in addition to all these good recommendations: The easiest way - in my opinion - to protect the recommended website(s) with a password is to ask your provider for this possibility. I can show you here the menu of my German host (Passwortschutz > Password protection):
Here an example of one of my websites, where I used my providers service. You can see what happens if you don't know the required details:
http://dala-laegret1963.de/AccBlocked/AccBlocked.php. There only these users who know the passwords can enter this website.
As you can see I didn't struggle to write the ".htaccess" file of myself, I used the provider's (ISP) service. The advantage is, that the two files (.htaccess and .htpasswd) are created simultaneously and systemconform.  You will find this offer, I am sure, at your provider's website.
Dreamweaver has so too a very easy server-side authentication behaviors built-in... have you looked at those? (Server Behaviors --> Authenticate Users)
Hans-G.

Similar Messages

  • How do I password protect a webpage in adobe muse?

    I want to create a webpage in which I can password protect it so only people with a username and password can get in. How can I do this. By the way, I am new to adobe muse and I am only 12 (I just have in interest in computers). Thanks!

    Chech this out
    What is Password Protection
    There are many websites that cause a box to pop up asking you for a username and password. If you don't know the password, you can't enter the site. This provides some security to your Web pages and gives you the chance to choose who you want to allow to see and read your Web pages. There are many ways to password protect your Web pages, from PHP, to JavaScript, to HTAccess (on the Web server).
    When Should You Password Protect Pages?
    With HTAccess, you can password protect any page or directory on your Web server. You can even protect the entire website if you want to. HTAccess is the most secure method of password protection, as it relies on the Web server, so the valid usernames and passwords are never shared with the Web browser or stored in the HTML like they can be with other scripts. People use password protection:
    Hiding new versions of your website from the public until they are ready to launch.
    Protecting private sections of your website so that only people you know and trust can read them.
    Providing paid content to your customers and only allowing access via a password.
    Creating a private forum for select readers.
    It's Easy to Password Protect Your Web Pages
    You need to do two things:
    Create a password file to store the usernames and passwords that will have access to the directory.
    Create an htaccess file in the directory to be password protected.
    Create the Password File
    Open a new text file called.htpasswdNote the period at the beginning of the filename.
    Use a password encryption program to create your passwords. Paste the lines into your .htpasswd file and save the file. You will have one line for every username that requires access.
    Upload the .htpasswd file to a directory on your Web server that is not live on the Web. In other words, you should not be able to go to http://YOUR_URL/.htpasswd - it should be in a home directory or other location that is secure.
    Create the htaccess File
    Open a text file called.htaccessNote the period at the beginning of the filename.
    Add the following to the file: AuthUserFile /path/to/htpasswd/file/.htpasswd AuthGroupFile /dev/null AuthName "Name of Area" AuthType Basic require valid-user
    Change/path/to/htpasswd/file/.htpasswdto the full path to the .htpasswd file you uploaded in above.
    Change"Name of Area"to the name of the site section being protected. This is used primarily when you have multiple areas with different protection levels.
    Save the file and upload it to the directory you want protected.
    Test that the password works by accessing the URL. If your password doesn't work, go back to the encryption programs and encrypt it again. Remember that the username and password will be case-sensitive. If you are not prompted for a password, contact your system administrator to make sure that HTAccess is turned on for your site.
    http://webdesign.about.com/od/security/a/password_protec.htm
    http://webdesign.about.com/od/htpasswordgenerators/HTPassword_Generators.htm

  • Password Protect: Whole website or individual pages??

    Hi all.
    The 'Password Protection' feature inside iWeb (inside Inspector), can I just password protect ONE webpage? E.G. like password one of my special Blog page so that only "my blog members" can log in and read?
    Thanks and cheers

    The "Password Protection" feature of iWeb works only to protect entire sites...not individual pages. The workaround, then, is to make the page that you want to protect a separate site in and of itself and password protect it. You can then create hyperlinks to this password protected site from your regular iWeb site.
    If you find this information useful or if it offers a solution to your problem, please mark this reply either as "solved" or "helpful" using the little buttons in the title bar of this reply. Thanks!

  • Easiest way to password protect a page

    What it the easiest way to password protect a webpage?

    The most secure is to use a Server-Side method of User
    Authentication.
    My guess is that server-side methods may be a bit beyond your
    current
    skill set, given the open-ended nature of your question. The
    good news
    though is there are other, simpler ways to limit access to a
    folder to
    authorized users.
    If it okay that all authorized users have the very same
    username/password, then:
    1) Check your CPanel, or similar, at your host (or contact
    your host) -
    they may offer an option to password protect a folder. This
    offers a
    very secure solution.
    2) If (1) is not available, or you want to offer a more
    user-friendly
    login-box AND you do not need bullet-proof security, you may
    want to
    check my DW Extension: Password Protect 6 at
    http://valleywebdesigns.com/vwd_passprotect6.asp
    It can also be used to protect individual pages, unlike the
    (1) method
    above.
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Internet Explorer will not open a password-protected webpage

    I've asked this question in the General Discussion forum but
    did not find a solution. I am using DW8.0.2 / MySQL 4.1 / PHP5.1 to
    create PHP login and restricted access webpages. Locally (i.e.
    Windows XP / IIS5.0), they all function properly no matter what
    browser I use. However, on my ISP's server that running Linux /
    Apache, Internet Explorer 6.x or 7.x will not open the
    password-protected webpages - all the other php pages open and
    function properly. I can use Opera, Netscape, or Firefox and the
    pw_protected webpages open fine - just not in IE.
    I've tried cookies on / off, popup blocker on / off, and
    changed my PHP login scripting - all to no avail. Any one have any
    ideas why IE won't open a PHP-scripted pw-protected webpage while
    all other browsers can?

    Thanks for your suggestion. I've added the site to IE's
    Trusted Zone... but no luck. And to test further, I've turned off
    EVERY 'disable' feature I could in IE and still no joy.
    Could the problem be how IE proceses (or doesn't process) my
    PHP logon scripts and possibly does not pass the session on to
    Apache (the server is a Linux box running Apache)? I'm enclosing my
    scripts for review and hopefully for a discovery of why this is
    happening only in IE and not the other browsers.
    Here is my logon script:
    <?php
    // *** Start the session
    session_start();
    // *** Validate request to log in to this site.
    $FF_LoginAction = $HTTP_SERVER_VARS['PHP_SELF'];
    if (isset($HTTP_SERVER_VARS['QUERY_STRING']) &&
    $HTTP_SERVER_VARS['QUERY_STRING']!="") $FF_LoginAction .=
    "?".htmlentities($HTTP_SERVER_VARS['QUERY_STRING']);
    if (isset($HTTP_POST_VARS['Username'])) {
    $FF_valUsername=$HTTP_POST_VARS['Username'];
    $FF_valPassword=$HTTP_POST_VARS['Password'];
    $FF_fldUserAuthorization="Status";
    $FF_redirectLoginSuccess="bulletin_edit.php";
    $FF_redirectLoginFailed="access_error.html";
    $FF_rsUser_Source="SELECT Username, Password ";
    if ($FF_fldUserAuthorization != "") $FF_rsUser_Source .= ","
    . $FF_fldUserAuthorization;
    $FF_rsUser_Source .= " FROM tblaccess WHERE Username='" .
    $FF_valUsername . "' AND Password='" . $FF_valPassword . "'";
    mysql_select_db($database_leathernecks, $leathernecks);
    $FF_rsUser=mysql_query($FF_rsUser_Source, $leathernecks) or
    die(mysql_error());
    $row_FF_rsUser = mysql_fetch_assoc($FF_rsUser);
    if(mysql_num_rows($FF_rsUser) > 0) {
    // username and password match - this is a valid user
    $MM_Username=$FF_valUsername;
    session_register("MM_Username");
    if ($FF_fldUserAuthorization != "") {
    $MM_UserAuthorization=$row_FF_rsUser[$FF_fldUserAuthorization];
    } else {
    $MM_UserAuthorization="";
    session_register("MM_UserAuthorization");
    if (isset($accessdenied) && false) {
    $FF_redirectLoginSuccess = $accessdenied;
    mysql_free_result($FF_rsUser);
    session_register("FF_login_failed");
    $FF_login_failed = false;
    header ("Location: $FF_redirectLoginSuccess");
    exit;
    mysql_free_result($FF_rsUser);
    session_register("FF_login_failed");
    $FF_login_failed = true;
    header ("Location: $FF_redirectLoginFailed");
    exit;
    ?>
    And here is the script that appears on each restricted
    webpage:
    <?php
    // *** Restrict Access To Page: Grant or deny access to this
    page
    $FF_authorizedUsers=" edit";
    $FF_authFailedURL="access_error.html";
    $FF_grantAccess=0;
    session_start();
    if (isset($HTTP_SESSION_VARS["MM_Username"])) {
    if (false ||
    !(isset($HTTP_SESSION_VARS["MM_UserAuthorization"])) ||
    $HTTP_SESSION_VARS["MM_UserAuthorization"]=="" ||
    strpos($FF_authorizedUsers,
    $HTTP_SESSION_VARS["MM_UserAuthorization"])) {
    $FF_grantAccess = 1;
    if (!$FF_grantAccess) {
    $FF_qsChar = "?";
    if (strpos($FF_authFailedURL, "?")) $FF_qsChar = "&";
    $FF_referrer = "Restricted Area";
    $FF_authFailedURL = $FF_authFailedURL . $FF_qsChar .
    "accessdenied=" . urlencode($FF_referrer);
    header("Location: $FF_authFailedURL");
    exit;
    ?>
    Any ideas, suggestions or help is greatly appreciated.

  • Can I set up a password protected webpage within my site? CS4

    Can I set up a password protected webpage within my site? I'm using CS4 and would like to create an orphaned page for internal use only.  Is there any way you can set up a password protect on one page within an otherwise public website?
    Any help would be much appreciated.
    Cheers

    The simplest way to achieve this would be to enable password protection for a certain subdirectory by using .htaccess. As long as you / your provider is using apache as web server this can be setup within minutes, all you need is a ftp client (plenty of freeware ones out there),
    and here's a tutorial on how to do it: http://www.javascriptkit.com/howto/htaccess3.shtml Google will list many more if you search for "htaccess password"
    Or, send your provider an email, he might be willing to do it for you, maybe even for free, since it doesnt take more than 5 minutes to set up.

  • Craeting a password protected webpage

    How do I create a password protected webpage using
    dreamweaver 8

    > How do I create a password protected webpage using
    dreamweaver 8
    to suggest a method- you need to supply more info.
    do you want a common user/pass for all users, all with the
    same access
    rights?
    or- do you want different access rights for different groups
    of people, such
    as user/moderator/admin tied into a database?
    What type of server and what type of scripting can be used
    Lastly- take a look in your site's hosting control panel if
    there is one.
    Most hosting cp will have a set up to password protect
    directories, and
    create authorized users who are allowed access.

  • Logging into password protected webpage

    I downloaded Safari 3.2.3 for windows to check on a new site design that I'm working on. The site is hosted on an IIS7 Windows server and is password protected.
    In Safari I get the username / password box, yet no matter how many times I enter the correct credentials it just keeps saying incorrect login or password.
    The IIS login works fine in Firefox and IE. I've set IIS to accept plain text as well as the standard Windows integrated authenticated, but Safari still refuses to log in.

    > How do I create a password protected webpage using
    dreamweaver 8
    to suggest a method- you need to supply more info.
    do you want a common user/pass for all users, all with the
    same access
    rights?
    or- do you want different access rights for different groups
    of people, such
    as user/moderator/admin tied into a database?
    What type of server and what type of scripting can be used
    Lastly- take a look in your site's hosting control panel if
    there is one.
    Most hosting cp will have a set up to password protect
    directories, and
    create authorized users who are allowed access.

  • How can I set up a password protected webpage in Muse?

    I was asked to password protect one area of a website, so that only registered users who have the password can enter and look at or download the pdfs stored there

    Hello,
    Please refer to the links below that have suggestions for same question.
    https://forums.adobe.com/message/4406164
    Can I create a password protected page for member's only?
    https://forums.adobe.com/thread/1044919
    Password Protecting a Muse page
    Regards
    Vivek

  • Can an individual webpage on iWeb be password protected?

    I want to be able to password protect certain pages, not all of my iMac iWeb pages. Is this possible?

    Can you build a separate site within the same domain?
    I would like to do what you are suggesting here, but I am not sure how to build a separate site within the domain that I am currently working under.

  • Protecting a webpage with a Password

    I need to protect a page on our website with a password.
    I realise this can only be done server-side and our website
    is written in
    Dreamweaver using HTML code.
    I thought I had solved the problem when I found a really
    good, free php
    script (I don't know anything about PHP) but if I understand
    the
    instructions the whole website would have to be written in
    php for it to
    work, so it's no good.
    The company who host our website do not offer any of their
    own scripts for
    such a purpose but have no objection to us uploading a script
    of our own.
    Can anyone give me advice or refer me to a website that will
    help me achieve
    a password protected web page?
    Your help will be appreciated.
    Noel

    Thanks very much John,
    I called RM and it seems likely that they will be able to
    create a password
    protected directory on their server.
    Noel
    "John Waller" <[email protected]>
    wrote in message
    news:ek3mjs$604$[email protected]..
    >A quick and dirty solution (depending on how secure you
    want things to be):
    >
    > Ask your host to set up a password protected directory
    on their server for
    > you. Should take them a couple of minutes.
    >
    > Then upload the page you want to protect into the
    password protected
    > directory on the remote server. No special scripting is
    needed on the page
    > itself since it's the directory that is password
    protected.
    >
    > When you navigate to the page online, a dialogue box
    will pop up asking
    > for username/password before giving you access to any
    page in the
    > directory in which the page is stored.
    >
    > Just a thought.
    >
    > --
    > Regards
    >
    > John Waller
    >

  • How do I restore a password-protected backup?

    How can I restore a backup that's password protected?
    Problem steps:
    1) I had a password-protected iPad receiving push email from my company for more than a year.
    2) This morning, I had to re-enroll it and change the password to meet more stringent standards.
    3) The change said it was successful, but after the iPad went to sleep and I woke it up, it didn't recognize the new password.
    4) It also didn't recognize the old password.
    5) It also didn't recognize the original 4-digit password that I'd put on the machine when I first got it.
    6) I went to our mobile device management webpage and issued the clear password command while my iPad was connected to the wifi network.
    7) The MDM page announced that the command had been sent successfully.
    8) The iPad never prompted me for a new password.
    9) It still didn't recognize the old password.
    10) It still didn't recognize the original password.
    11) I had to let the iPad wipe itself clean after ten mis-tries so I could restore from last week's backup.
    12) When I issue the restore command, I'm prompted for a password. It says that the old password (and the original password and the new password) are all incorrect and won't do a restore.
    When I plugged the iPad in this afternoon to find out when my latest backup was (after I had discovered that it was having problems), could it have transferred the corruption from the iPad to the Mac's backup file? The backup file still has last week's date on it. I have a complete disk backup of the Mac from earlier last week as well as it's connected to a Time Machine backup. What can I do to get my data back?
    I've got two books I've been annotating since last summer so I can create presentations about them and teach from them, and now everything's gone.
    This is an iPad 1, running iOS 5.0.0.
    The Mac is a MacBook Pro running 10.6.8

    Found it.
    The restore password is not the same as the passcode to access the iPad. (After putting 6-digit codes in all day, I think I'd been conditioned to continue using those codes.) I found the backup password in the Keychain.

  • How to make a particular site password protected.

    Hi,
    Could you please tell me how to make a particular site to be password protected . Could you give me necessary code. I want a seperate login page to be opened when a particular site is opened.
    Edited by: vemana on Jan 1, 2008 10:37 PM

    I infer that you want to login validation on your webpages right.
    Ask user name and password from the user(using html or jsp), and submit those information to server. you can validation user information in server(using servlet). then redirect to client(JSP, html) according to login info.
    This is swing forum. Web Tier APIs topic is there for web page related questions. so next time onwards post there itself.

  • Mavericks and password protected WiFi

    I upgraded to Mavericks on early 2011 MacBook Pro 13 inch.  My basic WPA(2) is working fine.
    However I tried to connect to password protected WiFi on inflight GoGo internet and the hotel internet and neither would bring up the webpage to login.
    The WiFi in the menu bar showed it was connected and NO ! mark so no apparent problem. I tried Safari, Chrome and Firefox.  I had not previously tried to connect to GoGo but had previously used the hotel WiFi

    IsaacR312 wrote:
    So then why did Steve Jobs even mention him not liking having to have a password to access Wifi networks if he wasn't even going to fix the problem?
    Go back an listen to what Steve said again, because you did not listen carefully.
    He said that many devices that use the internet have issues because you need to enter passwords to access hotspots and because these devices don't have a full internet browser you can't enter the details. What the iPod touch provides is a full internet browser (Safari) and that allows you to enter the login details for internet hot spots. See the difference?
    So you can use password protected hot spots, you need to enter the password and the iPod touch using Safari allows you to do that.
    Simple!

  • Unlocked, yet password-protected wifi networks render email/apps useless

    Email and apps work great at home where I have a wifi connection on my home wireless router. But when out and about, unlocked (yet password protected) wifi networks (like Optonline) render apps useless. In short, email and apps are trying to connect to the wifi network (since it's unlocked). But in order to actually connect to it, you need to sign in via Safari first.
    Shouldn't the iPhone be "smarter" and know that if a wifi connection is locked OR password protected, it should simply go ahead and use 3G? Otherwise, you need to manually turn off wifi and force the iPhone to use 3G.
    Anyone else experience this? Any suggestions?

    If you have previously connected your iPhone to such a wi-fi network - which you must do first before entering the required password via the Safari webpage before you have internet access via the wi-fi network, your iPhone will automatically connect to the wi-fi network when returning within range of the network.
    If you don't want to use such a particular wi-fi network for internet access, which the provider for the network requires entering a password via a webpage before having internet access via the wi-fi network, remove the wi-fi network from your iPhone and don't join the network when returning within range of the network.
    When within range of the network, which your iPhone will automatically connect to if you have previously connected to the network if wi-fi access is on, select the right facing arrow in a blue circle icon to the right of the network and at the next screen for the wi-fi network settings, select Forget this Network, and don't connect to the wi-fi network when returning within range of the network. If you want to use the wi-fi network for internet access, you must enter your password to access the internet via the wi-fi network, which requires connecting to the wi-fi network first.

Maybe you are looking for

  • XML Publisher and Graph code line limited

    Hi All, One of our graph report, seem have limited code line. The way we put the coding is in "right click on the graph" > Properties > Alt Tab.. Is there any others place that we can put the code for the graph generation?

  • Why can't I end my installation?

    when I wanted to install a game on my macbook pro, it stopped and now it has frosen. i can't take out the cd and i can't end the installation either. Help me??!

  • Help files missing after upgrade to Lightroom 3

    Dowloaded the upgrade, installed it, reinstalled it... help files missing... message is .. Cannot display help.. Use Lightroom 3 on Win 7 professional at 64bit... Please help...

  • Password code to access the PSTN

    Hi all I have a CCME ver4 in a router 2811 with 4 fxo ports to PSTN and 20 ip phones. I need establish password code by users to have different type the access to the PSTN (local, LD, LDI), and that the phone number and code password appear in the re

  • I have uninstalled itunes. Now I cannot reinstall  itunes

    After several attempts, I cannot download Itunes. I click on download, but, the run program installer does not come up, the screen goes directly to congradulations on downloading itunes.