•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 456,470 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,792 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 9439 | Replies: 23 | Solved
![]() |
•
•
Join Date: Oct 2005
Posts: 16
Reputation:
Rep Power: 4
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
•
•
Join Date: Jan 2005
Location: Sheffield, UK
Posts: 294
Reputation:
Rep Power: 4
Solved Threads: 6
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
Location: Socialist Republic of Boulder
Posts: 216
Reputation:
Rep Power: 4
Solved Threads: 6
•
•
•
•
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
There is a lot to think about here...
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
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 19
Solved Threads: 200
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
Location: Socialist Republic of Boulder
Posts: 216
Reputation:
Rep Power: 4
Solved Threads: 6
•
•
•
•
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.
Don't make it unique. Make it functional.
Unique sites don't get used. Functional sites do.
Regards,
Nate
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 19
Solved Threads: 200
![]() |
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
apple black friday computer customers distance education education experiment france funds gift cards holiday india intel internet investments leopard library linux media microsoft online online education online shopping open operating operating system os parliament portfolio publishing retail retail stocks shopping software source stocks strayer study switching system technology tips torvalds tutorials upgrade vista web windows xbox 360 xp
- Online voting (PHP)
- Online voting !! (ASP.NET)
Other Threads in the JSP Forum
- Previous Thread: I need to check the existence of "#" in requested URL.
- Next Thread: how to change the root directory



Linear Mode