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 gis中用栅格计算器或加权总和后图层不显示,值也明显不对
  • ¥15 python使用python-pptx如何给幻灯片添加只读密码。
  • ¥15 深度神经网络传递自变量损失
  • ¥15 删除s的前驱节点,但是不知道错哪里了
  • ¥15 oracle数据库备份表如何操作
  • ¥15 软件定义网络mininet和onos控制器问题
  • ¥15 微信小程序 用oss下载 aliyun-oss-sdk-6.18.0.min client报错
  • ¥15 ArcGIS批量裁剪
  • ¥15 labview程序设计
  • ¥15 为什么在配置Linux系统的时候执行脚本总是出现E: Failed to fetch http:L/cn.archive.ubuntu.com