Click to See Complete Forum and Search --> : i think its possible.. but im not sure


genjibox
02-18-2003, 05:05 PM
hey everyone.. i was just wondering this.
I've been trying to do some security work for a web site... nothing too insane but good enough to keep smart people out.. or lazy people from trying.

Here's my idea-

I was wondering if there was a way, through a script maybe, to encrypt the whole html file and then process and decrypt it as its being loaded.

I already have means of encryption, but I'm not sure if having a script run the decryption is even possible... hopefully im making some sense here.

If anyone could tell me whether or not I'm insane, please feel free... but if there is a way to do all of this, I would completely be thankful for any help!! :) feel free to email me with any information. Scripts, methods, and examples are welcome.
-Genji

Nedals
02-18-2003, 06:14 PM
If anyone could tell me whether or not I'm insaneYou're insane :-)
You CANNOT hide your HTML from anyone who knows how to use a mouse or a keyboard.
I lied. There is one method, suggest by another member...
Don't post it to the Internet.

bellybytes
02-18-2003, 06:59 PM
I understood your question; I don't have a specific answer, but the first thing that came to my mind is that if you can encrypt, which we all can do, and you can DEcrypt - so can anyone else who wants to.

Which brings us back to the wise person who said what nedals quoted - don't post it to the internet...

Sorry I couldn't do better for you, but that's cyberspace.

bellybytes
02-18-2003, 07:01 PM
PS - Just wanted to add that you shouldn't feel "insane" or anything for asking - we all learn this way. I was asking the same questions at one time - and got the same answers! It's just fact on the 'net that if you put it out there, the world can get it, and that's a good thing to know - and accept.

genjibox
02-18-2003, 08:17 PM
well see.. come on guys.. im not that naive... lol. thing is- this is for an intranet system im building.. and the users.. arent quiet that smart.

bellybytes
02-18-2003, 10:48 PM
Well, how were any of us supposed to know that?

From personal experience though I will just add one thing - don't underestimate people's intelligence - it's snotty and worse, it can (and usually does) backfire on you in a big way.

Nedals
02-19-2003, 12:18 AM
genjibox,
If it's an Intranet, what is SO important that you even need to go thought the hassel of tying to hide your HTML.

I once saw a copyright notice at the bottom of a site...
Copyright - This site is protec...... Oh what the hell, just take it!This pretty much sums up how you should treat anything you put in the public or semi-public domain.

Update
Here's another thought for you.
The only reason someone might want to take your code is because they like the look and feel of your site. Most of the members, with 50 posts or more, would have little difficulty in copying your site without even seeing your HTML or Javascript code. (and might just code it more efficiently). AND you really don't need to worry about users that cannot do that. So, as I said, save yourself the hassel.

genjibox
02-19-2003, 10:09 AM
well if you guys want me to get into detail... insurance records... the company doesnt want to use ssl or xml, which is beyond me... so the user logins are in java script... go figure. theres a lot to lose and i stressed that... but they want it this way.. and this way only...

so i need to find a way

genjibox
02-19-2003, 10:11 AM
also guys.. im not a newb. i've been coding since 1997. i know all of this... how someone could take codes and what not. i know this is a crazy idea... but you know what? thats what they want. and hell, if they're paying me 1300 dollars... why the hell not lol. i guess im just trying to give them a little bit more security then what they're asking. oh well.. .thanks for the help everyone. :)

DaveSW
02-19-2003, 12:43 PM
Have you seen the discussion, 'Hey don't copy my web site man' somewhere above yours in the general forum? This seems to diverge into encryption, tho they do admit nothings perfect...

Since you've been coding since '97 it might make more sense to you than to me...

Dave

DaveSW
02-19-2003, 12:47 PM
http://javascript.internet.com/passwords/ this link has loads of encryption techniques that might help.

Dave

bellybytes
02-19-2003, 05:51 PM
Copyright - This site is protec...... Oh what the hell, just take it!


That is too funny - I love it!!