URL of translated tutorial http://sitestree.com/securing-your-angularjs-applications/ |
Paste written translation here AngularJS Templates এর নিরাপত্তা। Md. Shahinoor Islam যদি আপনি চান তবে আপনি এটা ($templateCache caches templates) ব্যবহার করতে পারেন। প্রত্যেক user কে login করার সময় cache টা remove করতে হবে। নিচের উদাহরনটি আপনাকে সাহায্য করবে, Cache-Control: no-cache, no-store, must-revalidate Pragma : no-cache Expires : 0 https ব্যবহার snooping এর জন্য সুবিধাজনক , না করলে মাঝখানে কিছু অসুবিধা হতে পারে। আপনাকে JSON Injection এর আক্রমন প্রতিরোধ করতে হবে। প্রতিরোধ করতে আপনি নিচের উধাহরনটি লক্ষ্য করুন। আপনার JSON এর পুর্বে লিখুন এটি )]}’, যদিও এটা বৈধ নয়। client side থেকে XSS এর আক্রমন দূর করতে হবে। AngularJS সব HTML প্রদর্শন করে যা ng-bind directive, or template interpolation এর মাধমে text এর ভিতর দেখা দেখা যায় (that is text in {{curly braces}}). |
Mar 23