Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bashhub-client
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Ryan Caloras
  • bashhub-client
  • Wiki
  • Security and Privacy

Security and Privacy · Changes

Page history
Updated Security and Privacy (markdown) authored Dec 09, 2015 by Ryan Caloras's avatar Ryan Caloras
Hide whitespace changes
Inline Side-by-side
Security-and-Privacy.md
View page @ 6a1dabee
...@@ -26,7 +26,13 @@ Bashhub saves a copy of a command exactly as it's recorded in your history. Cred ...@@ -26,7 +26,13 @@ Bashhub saves a copy of a command exactly as it's recorded in your history. Cred
```bash ```bash
$ mysql -u bob -p plain-text-password # This is bad practice in general. $ mysql -u bob -p plain-text-password # This is bad practice in general.
``` ```
Good practice is to not plain text user information and have it stored else where e.g. Good practice is to not plain text user information instead use a prompt e.g.
```bash
$ mysql -u "$DB_USER" -p # Best Practice. Prompts you for a password.
```
Instead of prompting, you could also set an environment variable.
```bash ```bash
$ mysql -u "$DB_USER" -p "$DB_PASSWORD" # This is better practice. $ mysql -u "$DB_USER" -p "$DB_PASSWORD" # This is better practice.
......
Clone repository
  • FAQ
  • Home
  • Install
  • Security and Privacy
  • Usage