What is the best practice for maintain users? aspnet_Users or create new user table [closed] - asp.net

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I installed the database asp.net Membership but I want to ask what is best practice here should I use the aspnet_Users table as a main table for Website user or should create new user table to store the website users login information and password ??

According to my understanding aspnet_Users tables are the easiest and best option if you already not having tables for user management

The generated aspnet_Users table gives you a quick out-of-the-box option, and you can also use it across multiple applications. I have used this before and it has served me well.

I have never used the aspnet_Users table even once in my entire career as a software developer, senior software developer and now present software architect. I think that pretty much sums this up.

To me using asp.net membership provider is a easier and safer way. And it contains in build method that can use. If we need to Implement a Custom Membership User it also possible.

Related

Session_start and end in ASP.NET [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am building a website. In this website, when a user logged in successfully, how i start session for him and when he hit on log out button ,how i close the session.
Please help me. I am a beginner in Asp.net. So please help me with your answers in Details.
Thank You.
VB.NET
To Create
Session.Add("UserSession", MySession)
To Asign
Dim vUserSession As String = Session.Item("UserSession")
To Close
Session.Item("UserSession") = Nothing
C#
Check this link there is a good explain
http://forums.asp.net/t/1261964.aspx
Depending on how you're setting this up, there are .NET controls that provide this functionality mostly for free (you don't have to write a lot of code to get it to work). Look into the Login control.
You need to decide whether you're authenticating against a domain or a database. Most likely it's a database. Just mask sure you hash the password in the database, and hash the password in the app, and compare the hashes.

Contact Form 7 wordpress, retrieving emails from database [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Question in Contact Form 7 wordpress, is there a way to get the emails inputted by the visitor from the database? are the emails save in the database? thank you guys.
Ramje,
Take a look at the following plugin:
http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/
By default, when CF7 sends an email, the message is not stored to your database.
It seems that we have a plugin for storing Contact Form 7 information into DB made by the same team behind CF7. It's called Flamingo https://wordpress.org/plugins/flamingo/
I made a step by step guide of the plugin and also showcased a few other alternatives to it https://deliciousthemes.com/save-contact-form-7-submissions-to-database/
One of the Flamingo downsides is that it can't store attachments too. However, there are solutions.
Thanks!
You can use this plugin https://wordpress.org/plugins/contact-form-advanced-database/
It also has export and and search option at the backend.
I'm using this plugin (it costs $16): http://codecanyon.net/item/contact-form-7-database/14684587
You can export your emails (or any things) to csv file, maybe it can help you.
Hello Check out this New Plugin...! Its create input field as Column Name in Fields....!
https://wordpress.org/plugins/save-contact-form-7/
It help me out alot to update and add some field after form submission

Devepole a journal system with Drupal [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am going to develop a journal system which has paper submission and review actions with evalution forms,something like OJS system. I want to use drupal for it but I am not sure if it is a good choice.
Does Drupal have ability to create such applications ?
It is a very generic question. To answer some part:
Drupal can be customized and used for a lot of projects, thanks to the powerful community and module developers.
Let me give a glimpse of possibilities, you can find the rest:
Each paper can be a content type. Each user can have specific roles and permissions (eg. publisher, editor, reviewer etc) who are allowed to do specifically what you allow them to do. They can apply for higher roles as well.
Each review process can be captured and maintained using workflow module. There are plenty of tutorials for that.
List of articles can be shown with various properties and filters using views. They can be shown in various regions of a theme you select or make of your own (or customize).
The community can be built using forums.
In short there are thousands of possible ways you can make this. But one note from personal experience: sometimes you will find extremely tough things to be done in simple ways, while simple things will take time. This is mostly because like all systems, it takes a bit of time to get used to with the drupal api.
Best of luck!

How to apply new naming schema on existing Trac usernames? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 1 year ago.
Improve this question
My company's user naming schema changed and we like to apply the new naming schema on our existing Trac instance. We already added the new users, so new tickets and changes will use the new names. What's left to do is to migrate the user names for existing tickets and changes so our existing reports and statistics remain useful.
We are using trac 0.12 with sqlite as database. In principle it should be enough to take a look at the Trac database schema, find all tables with fields containing user names and issue SQL update statements. Still it probably takes a couple of hours to get everything right, so I'd rather use an existing tool than write something from scratch.
Any recommendations?
(We also need to change the user names in our Subversion repository. svndumptool seems to solve this using svndumptool transform-revprop svn:author oldname newname repo.dump newrepo.dump.)
The best place to look for tools like this is a website called Track Hacks. A quick search there turned up three potential solutions for renaming users.
http://trac-hacks.org/wiki/RenameUsersScript
http://trac-hacks.org/wiki/RenameTracUsersScript
http://trac-hacks.org/wiki/RenameUserPlugin
I hope that one of these can help you out.

How do you set up an API key system for your website? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Let say that I have a website with some information that could be access externally. Those information need to be only change by the respected client. Example: Google Analytic or WordPress API key. How can I create a system that work like that (no matter the programming language)?
A number of smart people are working on a standard, and it's called OAuth. It already has a number of sample implementations, so it's pretty easy to get started.
Simple:
Generate a key for each user
Deny access for each request without this key
Currently, I use a concatenation of multiple MD5s with a salt. The MD5s are generated off of various concatenations of user data.
A good way of generating a key would be to store a GUID (Globally Unique Identifier) on each user record n the database. GUID is going to be unique and almost impossible to guess.
There are also infrastructure services that manage all this for you like http://www.3scale.net (disclosure I work there), http://www.mashery.com and http://www.apigee.com/.

Resources