ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Password Protect Html Ware
    카테고리 없음 2020. 3. 2. 01:23
    Password

    Password Protect Html Code

    I've seen several questions about password protecting pages, but none of them seem to be exactly what I'm looking for. JavaScript, or Apache, and such aren't options that I'm able to consider currently. I also don't have the ability to download a product or buy one since this isn't exactly for me but its for my boss' website, so please refrain from suggestions like that.The site is currently written in CSS and HTML, and that's also the extent of my coding knowledge unfortunately. I saw a few places where people used PHP coding, but every time I tried I just got a blank page or it didn't work out properly, or nothing would happen when I entered the password.There also haven't been any really good detailed instructions on it, so I never know where I'm supposed to put the PHP code (does it go on its own page or is it integrated?) or how to connect it to the actual web page.Truthfully it doesn't have to be anything fantastic, because a lot of the people who will be looking at this site are people who aren't very computer savvy, just a simple form box with a password field. It would be best if there was a code I could put right into the HTML on the page. If I have to make a separate HTML page I don't mind doing that either.

    There's going to be one password given to the Salesmen so they can access the private pages while on the road from their laptops or tablets.I saw something about.htpassword and another one I cant remember, but I haven't been able to find any step by step instructions or detailed information about it (detailed meaning info I can understand.). I saw also the thing about passwordprotect.php, but that requires a username field I think, and I cant really use one like that. There wont be a username, and sadly that's asking too much of the salesmen to remember two things heh.Anyways, I apologize for my ignorance on the subject, and thank anyone for their help in advance!

    This is where I start getting confused heh. On the protected pg (call it Catapg) theres only a download button for a PDF file.

    All of the pages are in the main directory. From what I gather, I create a.htpassword file and put all this code into it, except that last part with AuthName etc. Then I make the.htaccess page and put it with all the other files in the main directory, and just have the.htpassword file linked to it. But I'm curiouse, how will the.htaccess file know to protect the page called Catapg specifically, how will it know to launch?–Feb 21 '12 at 18:24. Actually I just did a little bit of research and tried doing this and nothing happened. By nothing I mean whenever I tried to load the.htpass/acess files to the server nothing showed up, but the server thinks their there.

    Password Protect Website Html

    I dont see the files at all, but if I try to load them it says their already there. I have to delete whatever folder their in just to delete the file itself.not sure if this is a method I can actually use now that I've tried it, unless I'm missing something–Feb 21 '12 at 19:55.

    Password Protect Html Script

    Password protect html ware without

    Password protect a web page using css/html? Is impossible.

    One is a presentation language and one is a document markup language.I never know where I'm supposed to put the PHP code (does it go on its own page or is it integrated?) or how to connect it to the actual web page.PHP is a programming / template language. A typical usage would be to embed PHP code in an HTML document.In the context of the WWW, it is a server side programming language. A webserver is responsible for running the PHP program through a PHP interpretor and sending the output to the client (instead of sending the original file).I saw something about.htpasswordThis is a common file name for a password file used with Apache's built in password system.If you just want a simple password system, then you should look at the manual for your web server.

Designed by Tistory.