• Post Reply Bookmark Topic Watch Topic
  • New Topic

help for encryption  RSS feed

 
Kapil Keskar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys,
Actually I am novice to encryption fundas.
I wanted to do one program using RSA.(public & private keys).
Can I get Some information regarding that & also I wanted to have One program which already implemented this funda.
I also wanted to my page should not be opened by anybody unless someone gives correct username & correct password.
Actually I want to open system dialog box in which it wants user name & password. & if it is correct then only open the main page.
Similar like while opening the console in BEA, which it asks.
Thank You
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Kapil, be careful about asking several questions at once, since you will generally only get an answer from people who know it all (meaning you wont get an answer at all if no-one knows it all). I'm not promising anything tho
The easiest way to implement encryption in JSPs is via HTTPS and you should do this via configuration on the web server rather than as any functionality in the JSP or application server.
The problem with this is that I don't think it's something that you can just trial or have a go at before doing it properly. You have to buy a certificate from a provider before you can start.
The pop-up is via "BASIC authentication", which is part of the HTTP (1.1?) specification. Again, it isn't something that you code into a JSP. You can define security for each of your resources (ie JSPs and stuff) and then configure the application server so that it forces a visitor to authenticate themselves (ie username and password) before thay are allowed in.
There are also other methods of automated authentication available and you could look into them too.
Dave
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!