• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing Registry setting at client end Using JSP ????

 
vikas singh
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am in the midway of a project, developing a intranetwork
site for a Organisation.
Pl. help me in finding out a solution through which
i can change the registry settings using JSP at the client end,
to maintain the identity of the client.B'z of certain reasons
we can't use Cookies/Session id's/ or create file.
regds,
Vikas Singh
SCJP
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bad. Very bad. The only reason I can think of for barring cookies AND URL rewriting would be is someone was being paranoid about security. AND THEY WANT YOU TO WRITE TO THE USER'S ***REGISTRY***???!!!
OK. You get the point. Hopefully there's a better reason and I just can't guess it. First, you're going to need client-side logic. No web server can write directly to a client's registry (fortunately!). You can write this applet in Java or as as ActiveX control. Normally, I avoid ActiveX like the plague, since their security capabilities are nowhere near as good, but that's the point here - to get a Java Applet to do things to the user's registry, you have to have a JNI component to do the actual work, then you have to secure and sign the applet.
Actually, I do know of one other possible reason for wanting to use the registry - local storage of user preferences. This sounds like a better idea than it is. Since the key word here is "User", you generally want the preferences to be tied to the user, rather than to the user's machine, since it may decide to die at an inconvenient moment, or the user may want to demonstrate something in someone else's office. Cases like this make it preferable to keep the user preferences on the server, where it's available (and kept backed up!) when and where needed.
Also, don't forget that the registry isn't a universal solution. Large amounts of data (Microsoft's guideline is >2Kbytes) should not be stored there, and backup and recovery of data for the registry isn't granular. The exact architecture of the registry differs between from Win9x and Win/NT-2000 Finally, of course, there's always the possibility that someone important has a Macintosh no one knew about. Mac's don't have a registry.
Oh yeah, one other thing. The standard NT security rules allow non-administrators to write to the registry, but not to create registry subtrees. This is one reason why almost all NT application setup programs require the app to be installed via an administrative account.
[This message has been edited by Tim Holloway (edited July 31, 2001).]
 
vikas singh
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx Tim,
[Believe me NO Bad Intention]
Vikas Singh
SCJP[/B]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic