S
S
sorry_i_noob2018-07-28 18:00:54
Kohana
sorry_i_noob, 2018-07-28 18:00:54

What part of the project (the Internet store on Kohana) cannot be uploaded to the public repository in terms of security?

Hello! I want to upload my online store to github to show my code as a portfolio. What part can not be flooded (bad for security)? It is clear that the config with the login and password for the database, the config with the password from Email. And what is better not to flood?
The store is written in Kohana.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andy, 2018-08-04
@laskevych

You wrote everything correctly. If you put config files (database access, salt to create user passwords, etc.) in .gitignore , then your project cannot be run on the local machine. I would advise to create 2 dev and prod configs. I would add the latter to .gitignore, and leave dev with standard local database access (localhost, root, root). It is also worth writing in Readme.md the environment to run your application (php7. 1, MySQL 5.6, etc.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question