| | |
Online Voting System
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Oct 2005
Posts: 16
Reputation:
Solved Threads: 1
Hi Everyone, i am a final year computer science student.I was thinking of building a secure online voting system for my university's student union elections process. I wondering if anyone has an idea on how i can go about implementing the system.I would really appreciate any help you give to me.Thanks
Not sure why you choose JSP? It would be easier to program uisng PHP and ASP and there are tons of open source around.
Ecommerce-Web-Store.com Building Your e-Business.
•
•
Join Date: Aug 2005
Posts: 216
Reputation:
Solved Threads: 8
•
•
•
•
Originally Posted by shad
Hi Everyone, i am a final year computer science student.I was thinking of building a secure online voting system for my university's student union elections process. I wondering if anyone has an idea on how i can go about implementing the system.I would really appreciate any help you give to me.Thanks
First, are you going to build the whole system in JSP? Using a combination of servlets with JSP would be much better.
Is everything going to be secure? Using certificates?
How are you going to verify that the user is who they say they are and stop them from voting twice, or three time, etc...
Regards,
Nate
Don't go and implement those things yourself. There's many libraries available to take care of such things for you that do a far better job than what you could come up with.
Security is a complex issue, and very hard to get right (be careful selecting your tools therefore, many of them are bound to have serious flaws).
SSL for example starts at your webserver but doesn't stop there.
ALWAYS doublecheck all your input data, both clientside and serverside validation should take place on it.
Login details should be stored such that they can't be decrypted (just in case your database server gets compromised.
If that sounds impossible, it isn't (I've done it myself)
As said, use a proper architecture. Servlets, Javabeans, and JSP (using JSTL of course, not scriptlets).
Forget (IMO) about EJB, they're overkill for almost every scenario.
Write proper analysis and design documents. Those are IMO even more important than the actual code for a small project like this, especially in an academic setting (of course in the real world the code is the only thing that counts, but if the design sucks so will the code and most likely it will never get done).
Security is a complex issue, and very hard to get right (be careful selecting your tools therefore, many of them are bound to have serious flaws).
SSL for example starts at your webserver but doesn't stop there.
ALWAYS doublecheck all your input data, both clientside and serverside validation should take place on it.
Login details should be stored such that they can't be decrypted (just in case your database server gets compromised.
If that sounds impossible, it isn't (I've done it myself)

As said, use a proper architecture. Servlets, Javabeans, and JSP (using JSTL of course, not scriptlets).
Forget (IMO) about EJB, they're overkill for almost every scenario.
Write proper analysis and design documents. Those are IMO even more important than the actual code for a small project like this, especially in an academic setting (of course in the real world the code is the only thing that counts, but if the design sucks so will the code and most likely it will never get done).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Aug 2005
Posts: 216
Reputation:
Solved Threads: 8
•
•
•
•
Originally Posted by shad
Hi, thanks for the info, i will start the design, and see how it goes from there, but pls if you have any other ideas i could use to make my online voting system more unique do let me know.
Unique sites don't get used. Functional sites do.
Regards,
Nate
![]() |
Similar Threads
- Online voting (PHP)
- Online voting !! (ASP.NET)
Other Threads in the JSP Forum
- Previous Thread: Help in JSP : Only a type can be imported x.y resolves to a package
- Next Thread: Problem calling jsp files
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web





