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 idea tomcat和sql驱动不匹配吗
  • ¥15 如何查看h3c 5130s-28f-si交换机配置 及更改网口
  • ¥15 HFSS仿真喇叭天线阵列方向图出现异常
  • ¥15 blender自发光强度
  • ¥15 FIR滤波器算法设计与实现(利用库函数firdec()
  • ¥15 利用单片机产生正弦信号,来测量差分放大电路放大倍数和共模放大倍数的思路和仿真
  • ¥60 关于mavlink的论文咨询
  • ¥66 定制开发肯德基自动化网站下单软件
  • ¥15 中科院研发的TextMind(文心)
  • ¥20 vscode虚拟环境依赖包未安装