Results 1 to 11 of 11

Thread: Password protect page...
      
   

  1. #1
    Join Date
    Sep 2006
    Posts
    75

    Default Password protect page...

    Hi...

    I want to have a 'log in' page so that users can change their details... I know how to use to CPanel password protect a directory... but I was wondering whether I could download some code that get the 'log in' details from a database... so that i can make a nice neat log in page for my clients...

    What I thought would be the best solution, is if I have a form that has a PHP action... and it checks the database and compares the user name and password. Does anyone know where I can get a log in script?

    Thank you very much,
    Chris

  2. #2
    Join Date
    Apr 2006
    Location
    Canada
    Posts
    1,502

    Default Re: Password protect page...

    http://www.evolt.org/article/comment...265/index.html

    .. let me know! I am still working on it as well, so I can not tell you what you have been doing wrong if you use it. I am still trying out the bugs etc.
    Best regards,
    Jeremy

    www.cornwall4rent.com

  3. #3
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Password protect page...

    There are lots of such scripts on the web. Have a look at http://www.interlogy.com/products/pm/ . THERE IS A FREE AND A PAID FOR (PRO) VERSION.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  4. #4
    Join Date
    Dec 2005
    Location
    Pittsburgh, Pa
    Posts
    164

    Question Re: Password protect page...

    Thought this was the best place to ask this question.

    I am not looking for a password protected page at present.

    But I am looking at protecting the website from being copied and exploited by scam artists.

    Is there a way to invoke a script that will cause each page to not be copied and pasted? A script notice that says this website is protected by copyright, or that the source code is hidden?

    Thank you

    Ram_Industries
    Robert Montgomery

  5. #5
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,317

    Default Re: Password protect page...

    Hey Robert-
    There is no real way to protect a page source from being copied.

    You can however put in the head portion of the page a warning that will not appear on the page but only in the source. To do so Copy the following;

    <!--- This page is copy righted and if found reproduced- will be prosecuted--------->
    You can edit to suit you needs/preference.
    The <! ---> means that it will not show up on the page- only in the page source.

    Thats about all you can do.

    Andy
    PHP- is a blast!

  6. #6
    Join Date
    Dec 2005
    Location
    Pittsburgh, Pa
    Posts
    164

    Default Re: Password protect page...

    Andy:

    You said there is no way to do as I had asked about.

    Below is a more direct approach to what I am trying to accomplish...

    HTMLBlock - HTML Encryption and Website Security Application Hits: 877
    Hide your source code by, encrypting HTML, PHP, ASP, XHTML, JSP, SHTML files. Protect your images and graphics on your site by adding anti-copy to your pages. Stop spam in your emails by using the HTMLBlock anonymous email sender. HTML encryption is a method used to protect your website content and source code in JavaScript and Hex Code. Anyone can view the source code of a webpage, but with the use of HTML Block it encrypts your source code into unreadable code. Which cannot be stolen, neither edited. If you have not got encrypted WebPages you are at a very high risk of your WebPages design and layout being stolen. Now many people say you can't protect your source code in anyway. Well there are wrong now, as a team of experts have developed a special plug-in which you install on your server which stop's other stealing your code, design and images, this amazing plug-in can only be found at HTML Block.

    If I use the above method. Can this method be created using BV as the page builder or will I have to use another form of creating the website?

    Ram_Industries
    Robert Montgomery
    Ram-Industries@comcast.net

  7. #7
    Join Date
    Dec 2005
    Location
    Pittsburgh, Pa
    Posts
    164

    Question Re: Password protect page...

    Andy:
    Basically encrypt the source as seen below into the encryption code seen at bottom.
    So when you try to view the actual source code in the first section you will get a new code
    represents the actual code as seen in the second bit of code.

    ******************************
    Actual Source Code
    ******************************

    </STYLE>
    <SCRIPT type="text/javascript" src="./jscookmenu.js"></SCRIPT>
    </HEAD>
    <BODY bgcolor="#FFFFFF" text="#000000">
    <DIV id="container">
    <IMG src="home.gif" alt="" align="top" border="0" width="38" height="23" style="position:absolute;left:611px;top:1066px;wid th:38px;height:23px;z-index:0">
    <DIV style="position:absolute;left:363px;top:1065px;wid th:56px;height:16px;z-index:1" align="center">
    <FONT style="font-size:13px" color="#000000" face="Arial"><B>Home</B></FONT>
    </DIV>
    <HR noshade size="5" width="1009" color="#800080" style="position:absolute;left:0px;top:181px;width: 1009px;height:5px;z-index:2">
    <DIV style="position:absolute;left:184px;top:194px;widt h:632px;height:436px;z-index:3" align="center">
    <FONT style="font-size:13px" color="#000000" face="Arial"><BR>
    </FONT><FONT style="font-size:16px" color="#000000" face="Arial"><B>Welcome to Ram_Industries <BR>
    Pittsburgh Small Business Network</B></FONT><FONT style="font-size:13px" color="#000000" face="Arial"><BR>


    *****************************
    New Encryption Code
    *****************************

    <script type="text/javascript">
    //<!--
    document.write(unescape("%3C%64%69%76%20%61%6C%69% 67%6E%3D%22%63%65%6E%74%65%72%22%3E%3C%74%61%62%6C %65%20%62%6F%72%64%65%72%3D%22%31%22%20%77%69%64%7 4%68%3D%22%33%34%25%22%20%69%64%3D%22%74%61%62%6C% 65%31%22%20%62%6F%72%64%65%72%63%6F%6C%6F%72%6C%69 %67%68%74%3D%22%23%46%46%30%30%30%30%22%20%62%67%6 3%6F%6C%6F%72%3D%22%23%46%46%45%41%45%41%22%20%62% 6F%72%64%65%72%63%6F%6C%6F%72%64%61%72%6B%3D%22%23 %46%46%30%30%30%30%22%3E%3C%74%72%3E%3C%74%64%3E%3 C%70%20%61%6C%69%67%6E%3D%22%63%65%6E%74%65%72%22% 3E%3C%66%6F%6E%74%20%66%61%63%65%3D%22%56%65%72%64 %61%6E%61%22%20%73%69%7A%65%3D%22%31%22%3E%54%68%6 9%73%20%70%61%67%65%20%68%61%73%20%62%65%65%6E%20% 70%72%6F%74%65%63%74%65%64%20%77%69%74%68%20%48%54 %4D%4C%42%6C%6F%63%6B%21%3C%62%72%3E%3C%61%20%73%7 4%79%6C%65%3D%22%63%6F%6C%6F%72%3A%20%23%46%46%30% 30%30%30%22%20%74%69%74%6C%65%3D%22%50%75%72%63%68 %61%73%65%20%48%54%4D%4C%42%6C%6F%63%6B%20%74%6F%6 4%61%79%21%22%20%68%72%65%66%3D%22%68%74%74%70%3A% 2F%2F%77%77%77%2E%68%74%6D%6C%62%6C%6F%63%6B%2E%63 %6F%2E%75%6B%2F%73%68%6F%70%2E%70%68%70%22%3E%43%6 C%69%63%6B%20%68%65%72%65%20%74%6F%20%72%65%6D%6F% 76%65%20%74%68%69%73%20%62%61%6E%6E%65%72%21%3C%2F %61%3E%3C%2F%66%6F%6E%74%3E%3C%2F%74%64%3E%3C%2F%7 4%72%3E%3C%2F%74%61%62%6C%65%3E%3C%70%20%61%6C%69% 67%6E%3D%22%63%65%6E%74%65%72%22%3E%3C%62%72%3E%3C %2F%64%69%76%3E%3C%21%44%4F%43%54%59%50%45%20%48%5 4%4D%4C%20%50%55%42%4C%49%43%20%22%2D%2F%2F%57%33% 43%2F%2F%44%54%44%20%48%54%4D%4C%20%34%2E%30%31%20 %54%72%61%6E%73%69%74%69%6F%6E%61%6C%2F%2F%45%4E%2 2%3E%0D%0A%3C%48%54%4D%4C%3E%0D%0A%3C%48%45%41%44% 3E%0D%0A%3C%4D%45%54%41%20%68%74%74%70%2D%65%71%75 %69%76%3D%22%43%6F%6E%74%65%6E%74%2D%54%79%70%65%2 2%20%63%6F%6E%74%65%6E%74%3D%22%74%65%78%74%2F%68% 74%6D%6C%3B%20%63%68%61%72%73%65%74%3D%49%53%4F%2D %38%38%35%39%2D%31%22%3E%0D%0A%3C%54%49%54%4C%45%3 E%50%69%74%74%73%62%75%72%67%68%20%53%6D%61%6C%6C% 20%42%75%73%69%6E%65%73%73%20%4E%65%74%77%6F%72%6B %3C%2F%54%49%54%4C%45%3E%0D%0A%3C%4D%45%54%41%20%6 E%61%6D%65%3D%22%41%55%54%48%4F%52%22%20%63%6F%6E% 74%65%6E%74%3D%22%52%6F%62%65%72%74%20%4D%6F%6E%74 %67%6F%6D%65%72%79%22%3E%0D%0A%3C%4D%45%54%41%20%6 E%61%6D%65%3D%22%4B%45%59%57%4F%52%44%53%22%20%63% 6F%6E%74%65%6E%74%3D%22%53%6D%61%6C%6C%20%42%75%73 %69%6E%65%73%73%20%4E%65%74%77%6F%72%6B%69%6E%67%2 C%20%4E%65%77%73%6C%65%74%74%65%72%73%2C%20%41%72% 74%69%63%6C%65%73%2C%20%54%6F%6F%6C%73%2C%20%52%65 %73%6F%75%72%63%65%73%22%3E%0D%0A%3C%4D%45%54%41%2 0%6E%61%6D%65%3D%22%44%45%53%43%52%49%50%54%49%4F% 4E%22%20%63%6F%6E%74%65%6E%74%3D%22%50%69%74%74%73 %62%75%72%67%68%20%53%6D%61%6C%6C%20%42%75%73%69%6 E%65%73%73%20%4E%65%74%77%6F%72%6B%20%69%73%20%61% 62%6F%75%74%20%68%65%6C%70%69%6E%67%20%74%68%65%20 %6E%65%77%20%62%75%73%69%6E%65%73%73%20%6F%77%6E%6 5%72%20%73%74%61%72%74%20%74%68%65%69%72%20%62%75% 73%69%6E%65%73%73%2E%20%41%6C%6C%20%74%68%65%20%74 %6F%6F%6C%73%20%6E%65%65%64%65%64%20%74%6F%20%73%7 4%61%72%74%20%61%20%62%75%73%69%6E%65%73%73%2E%20% 22%3E%0D%0A%3C%4D%45%54%41%20%68%74%74%70%2D%65%71 %75%69%76%3D%22%50%61%67%65%2D%45%6E%74%65%72%22%2 0%63%6F%6E%74%65%6E%74%3D%22%72%65%76%65%61%6C%54% 72%61%6E%73%28%44%75%72%61%74%69%6F%6E%3D%31%2C%54 %72%61%6E%73%69%74%69%6F%6E%3D%32%29%22%3E%0D%0A%3 C%4D%45%54%41%20%6E%61%6D%65%3D%22%47%45%4E%45%52% 41%54%4F%52%22%20%63%6F%6E%74%65%6E%74%3D%22%43%72 %65%61%//-->
    </script>


    When anyone tries to view the source code the above code is what they will receive . And then using any type of decypher code will not generate the actual code.

  8. #8
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Password protect page...

    You can still use BV. Just publish your page normally, then download the html code generated, encrypt it and then upload it again.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  9. #9
    Join Date
    Dec 2005
    Location
    Pittsburgh, Pa
    Posts
    164

    Question Re: Password protect page...

    Naval:

    After I publish the original site and download the html from the site, then create the encrypted code and re-publish the page using the encrypted code.

    Will I need to save the encrypted code as a separate folder in BV?

    I would basically still need the original code created as an index.html
    so as to be able to make changes when necessary in the original code then when published re download the html then encrypt the html and re publish each new change correct?

    Or will I still be able to work inside the newly constructed encrypted code to make the added changes, after I ran a decypher?

    Ram_Industries
    Robert Montgomery
    Ram-Industries@comcast.net

  10. #10
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default Re: Password protect page...

    Will I need to save the encrypted code as a separate folder in BV?
    Yes, because that can be only uploaded usinf FTP or File Manager, so you must first save it on your computer.

    I would basically still need the original code created as an index.html
    so as to be able to make changes when necessary in the original code then when published re download the html then encrypt the html and re publish each new change correct?
    Correct. Keep the BV pages as well.

    Or will I still be able to work inside the newly constructed encrypted code to make the added changes, after I ran a decypher?

    No, you cannot work with the encrypted code.

    Howecer, this doesn't seem to be really encrypted code, it just seems to be the html coded for each character (letter or tag symbol)

    Ram_Industries
    Robert Montgomery
    Ram-Industries@comcast.net[/quote]
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  11. #11
    Join Date
    Dec 2005
    Location
    Pittsburgh, Pa
    Posts
    164

    Default Re: Password protect page...

    Thank you Naval:

    Was not sure on how it would be created and you have set me to a new standard.

    Since many of the options which will be on the website will have sensitive data being sent back and forth within the network created from with in the Martech Inc page I needed to have a way to encrypt the source code so it was unable to be viewed as well.

    Working on a very huge network that I believe you in your wise abilities will be of great value in its concepts when I am creating the particulars.

    Thanks again!!!

    Ram_Industries
    Robert Montgomery
    Ram-Industries@comcast.net

    Quote Originally Posted by navaldesign
    Will I need to save the encrypted code as a separate folder in BV?
    Yes, because that can be only uploaded usinf FTP or File Manager, so you must first save it on your computer.

    I would basically still need the original code created as an index.html
    so as to be able to make changes when necessary in the original code then when published re download the html then encrypt the html and re publish each new change correct?
    Correct. Keep the BV pages as well.


    Ram_Industries
    Robert Montgomery
    Ram-Industries@comcast.net
    [/quote]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •