• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which is the best securing option in Asp.net MVC ?

 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my Test Engine, I want to impose security by which users won't be able to access the registration page directly, only the people I sent invite will get the authority of registering themselves. For that, I created an invite table in Sql server which has an inviteCode column with uniquieidentifier datatype. To generate 1000 invite codes, I created a stored procedure in sql server itself. In my mvc model, I have a class which fetch these inviteCodes to the Controller. These trick works but I don't think it's the best approach. All top sites have referal link system to invite user , I have no idea how to create referal links ?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34198
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While we do know about languages other than Java, almost nobody here knows .NET. You might want to ask this question elsewhere to get an answer.
 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You got the point, but I like this forum very much so I post here.. I had to leave Java as my company deals only with Microsoft Technologies and I could not find any Java jobs.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've added this thread to "General Computing" forum too.

To me, the question looks more like language independent.


These trick works but I don't think it's the best approach.

It's not the worst either. It's simple and pretty straightforward and without seeing any additional requirements and the volume of such invites, I think that's a pretty good way to implement it.

Are there other requirements/considerations that you have in mind for considering an alternative approach?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic