Code Security

A

Asim Qazi

Hi All
i m working on a webbased project which includes some classes which are
used to encode and decode passwords and authentication keys, i want that no
body should b able to use my classes, how can i make them hide or secure so
tha no one else is able to use my classes and methods.





aSIM.
 
D

Dominick Baier [DevelopMentor]

They are on the server, right?

So against whom do you try to secure those classes?

Web users?
Admins that have access to the server?
Other web applications on the same server?

Needless to say - if someone has admin access to the web server he can do
with your classes whatever he wants....
 
A

Asim Qazi

its a product and we would have to sell it out to different customers,
even the demo or trial version would also be available for download,

so i want that nobody should use my classes.

i had tried it by making a simple windows application and added the refernce
of my webproject namespace, now all classes and functions are visible to me
and i can use them anywhere.


thanks for the reply.
aSIM.
 
D

Dominick Baier [DevelopMentor]

yes - -

and there is nothing you can do about that - if you give away your binaries
- ppl can use them (also in ways not intended by you)

consolidate all "dangerous" code in a web service - and give only the clients
away...
 
J

jeff

Build your code into a DLL will protect it from prying eyes. However DLL's
can eventually be deconstructed. Try to be a little clever by naming the
assembly some silly name OR go so far as to strong naming your assembly and
putting in the global assembly cache.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top