954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help: Website Login and Protect Content

Good Day!

Please help with my requirement, I'm more on a graphic designer and has little knowledge in programing, mostly on basic html only.

I have a web page I created in Flash and exported to an html page.

I need this to have a predefined username / password (pass can be changed) login info for the user to access it.
Also the page has to be protected from being copied, saved, print screen or any form of duplication.

I'm sure this has been done and posted here a lot of times, but I'm having trouble putting bits and pieces of these, especially using a language I'm not familiar with or don't even know how to make it run, e.g. php/asp

Please, any help will be highly appreciated.

cyberjorge
Newbie Poster
19 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

Hi

1) you cannot protect your design from being copied. This is the soul of open-source (which has mainly developed the internet).
a) There are a few stupid tricks out in the web that propose to write something like "

sDJh
Posting Whiz in Training
259 posts since Aug 2005
Reputation Points: 56
Solved Threads: 29
 

The only way to be sure is to get a copyright, which you can get pretty easily now days from sites like godaddy.

R0bb0b
Posting Shark
998 posts since Jun 2008
Reputation Points: 358
Solved Threads: 89
 

Hi Simon,

Thanks a lot for that, but it's a little hard for a total newbie like me to follow through it. But I'll try.

Yes I understand the open source concept, it's just that the article in the page needs to be protected.

Anyway, thanks again but if someone's willing to share a basic template that's easy to follow for a newbie that includes a basic login and other basic protection.

I've actually come across some of these links:

http://www.hooverwebdesign.com/templates/password-protection.html

http://www.codetoad.com/forum/17_23955.asp

cyberjorge
Newbie Poster
19 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

Login works as follows (alread typed that stuff already but someone interrupted my - damn it).

- HTML form with name and password
- PHP:

$nick=$_REQUEST["nick"];
$pw=$_REQUEST["pw"];
setcookie("nick",$nick);
setcookie("pw",$pw);

-the next pages tries to get the cookie:

$nick=$HTTP_COOKIE_VARS["nick"];
$pw=$HTTP_COOKIE_VARS["pw"];

this is very, very basic. You better use SESSION so that data are not transfered uncrypted over the internt.

sDJh
Posting Whiz in Training
259 posts since Aug 2005
Reputation Points: 56
Solved Threads: 29
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You