dongmeixi5311 2015-04-13 04:20
浏览 53

使用Ruby on Rails保护数据?

I am making a website and wish to store the data of users that log in into a SECURE database.; their username, URL, profile picture and points.

I am currently working on and studying game development so don't plan on spending too much time learning complex new coding languages. It was recently suggested to me that I learn Ruby on Rails, rather than mySQL and object oriented PHP. I currently have half a website built with HTML that uses some PHP (not coded by me).

Using Rails, can I set up a secure database to store information that can be accessed and changed by the website but untouchable to users?

  • 写回答

1条回答 默认 最新

  • dqkf36241 2015-04-13 05:01

    I'm relatively new to RoR as well but I'll do my best to answer completely:

    1. Rails did have a bit of a learning curve for me, it doesn't help that the language changes so often so that tutorials are out of date quickly. It is very rewarding, however, and will let you quickly create awesome web-apps.

    2. Rails has many Gems that you can use for many different things. For user authentication/encryption, you can use Devise, I've never needed database encryption on its own but I'm sure there are gems for that as well.

    3. Rails readily accepts your html if you split it up correctly. I recommend you use Rails without php to make your own life easier but Here is a guide to run both if you really need to.

    Hope this helps.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?



    • ¥15 很简单的c#代码补全
    • ¥15 复杂表达式求值程序里的函数优先级问题
    • ¥15 求密码学的客成社记ji着用
    • ¥35 POI导入树状结构excle
    • ¥15 初学者c语言题目解答
    • ¥15 div editable中的光标问题
    • ¥15 mysql报错1415Not allowed to return a result set from a trigger 不知如何修改
    • ¥60 Python输出Excel数据整理,算法较为复杂
    • ¥15 回答几个问题 关于数据库
    • ¥15 51单片机串口通信问题,未完成且要修改