ruby on rails - Brakeman: model attribute used in file name warnings -
i'm setting file name 'abc_1.pdf' '1' value of model's attribute. brakeman scanner take security issue. need keep track of files referencing file name model attribute. can please tell me, right way fix security issue?
thanks.
i don't know brakeman gem can use bijective transformation append referencing model attributes filename brakeman not worry about.
or can generate kind of unique hashkey model attribute stored somewhere (else) along model attribute can later model attribute presenting hashkey.
Comments
Post a Comment