Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8330285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:04:48+00:00 2026-06-09T02:04:48+00:00

Curious whether or not it is a bad idea to create Users with password

  • 0

Curious whether or not it is a bad idea to create Users with password in db:seeds for development?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:04:49+00:00Added an answer on June 9, 2026 at 2:04 am

    It’s generally a bad practice because of the small but certain number of times that they will ‘somehow’ be forgotten about and created in production. So that’s the biggest thing to know and be aware of. Good security is about beig attentive to as many layers and possibilities as possible. It’s never a ‘one thing to look at’ issue.

    Caveat given.. I think it’s fairly ok. You really need those users for development and testing. Therefore I recommend doing the following:

    • Enter a ticket now in your ticket tracking system, that before go-live you will check the production system for such accounts.

    • even test and dev accounts should have real passwords like BIGmy2+catz, NOT "password", "abc123", "change-me", etc.

    • consider excluding the seeds file in your source control (e.g. .gitignore for git) so that they aren’t even on the remote server.

    • consider encrypting the file. and decrypting it "as needed" and then delete the decrypted file immediately after use.

    • Be careful and cautious when running the rake db:seed command and think carefully about what’s in the current seeds.rb file and where the data will be visisble from e.g. public internet.

    At the end of the day it is always a balance between the conflicting goals of:

    Securing and protecting the data
    and
    Allowing developers to get their work done
    without too many hurdles.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was curious as to whether or not there exists a jQuery-style interface/library for
I'm curious if it is possible to determine whether or not an Assembly has
I'm curious whether this is possible, or as I suspect, by design not. In
I'm just curious about whether or not I have to call this on the
I have Visual Studio 2008 Pro and was curious as to whether or not
I'm curious as to whether or not there is a real difference between the
I was curious as to whether or not there was any advantage in regards
I am curious as to whether or not there is an open source solution
I was just curious as to whether or not there's a library that converts
Curious whether folks have setup 2 way transactional replication on the tables ASP.NET uses

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.