aspose file tools*
The moose likes Other Languages and the fly likes Which is the best securing option in Asp.net MVC ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Which is the best securing option in Asp.net MVC ?" Watch "Which is the best securing option in Asp.net MVC ?" New topic
Forums: General Computing Other Languages
Author

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

Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 574
    
    1

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 ?


Back to Java , again.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30516
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 574
    
    1

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

Joined: Jul 20, 2005
Posts: 10101
    
164

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?

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which is the best securing option in Asp.net MVC ?