In web application , How secure is local storage in Html5 or else is there any other way to secure the sensitive data in local storage.  Project Structure:  Front End: Html5,Angular js, Middletier: Asp.net webApi , BackEnd :Sql Server.  Once user log...
I have written a website that utilizes a SHA-256 hash to validate a user's password. This is a relatively unsecure setup to start with, as most users will have the same username/password. To try and protect it at least a little bit, I do the foll...
I have a simple Data Resource that retrieves a flat json file from within my own project. When I try to replace the url with that of a Working API end point that I have running on a separate domain I get a 401 (Unauthorized) error in chrome.  SETUP:...
I have a Rest API:  [HttpPost] [Route("Services/Image/Upload")] public string Upload([FromBody]GalleryItem galleryItem) {     try     {         var appSettings = ConfigurationManager.AppSettings["GalleryPath"].ToString();          usi...
There are lots of question like my question but I didn't any working solution.  I am using AngularJS and WebApi2 in my application.  Here is the JS code which call the initial API.  (function (module) { var baseUrl= "http://localhost:85";...
I am trying to call an endpoint with post method.  The code is:  import React, { Component } from 'react'; import { Input} from 'antd'; import Form from '../../components/uielements/form'; import Button from '../../compone...
I have the following controller:   public class ValuesController : ApiController {     // POST api/values     public IHttpActionResult Post(string filterName)     {         return new JsonResult<string>(filterName, new JsonSerializerSettings(),...
I've followed some fairly basic tutorials to set up a basic Web Api service and a React TS app to consume this, but when my react component calls the WebApi service, I can see the Web Api gets stepped into and returns the data - as it does if I e...
I am currently using ASP.NET to create a web page.   I have a page at the location: myUrl/INVs/Transaction  From the user point of view: what I am actually doing now is to create a list of items in my page. Then after I press save button. The same pa...
I'm working on angular app for intranet application. I hosted angular and WebApi in IIS as separate application. I need to validate the current windows logged-in user against Active-Directory group. So when user loads the angular page, it should...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.