Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
7 subscribers
Views
4257 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
WEB API
venkateshs329
over 8 years ago
# Integrations WEB API
I am caling WEB API from Jquery using credentials[Basic User],When i open .html file in IE browser it's return some json data,
In the same browser i have already logined with my credentials[System Administrator] in tempo page , if i reload tempo page it automatically goes to the basic user profile
in tempo but username shows my name only,but in backgroud is showing all information of Basic User, Is there any security issues or any other problem ?
Sample Jquery code snnipet:
<!DOCTYPE html>
<html>
<head>
<script src="
ajax.googleapis.com/.../script>
<script>
var data;
$(document).ready(function(){
$("#btn1").click(function(){
$.ajax({
url:"url",
type:'GET',
dataType:"json",
headers: {
"Authorization": "Basic " + btoa("username" + ":" + "password")
},
success: function(result){...
OriginalPostID-247893
Discussion posts and replies are publicly visible
Parents
0
Stefan Helzle
A Score Level 3
over 8 years ago
This is default browser behaviour. When you login to Appian, a cookie is stored in the browser which sends it back to Appian for each request. Your javascript is running inside the browser. I can not see any problem there.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Stefan Helzle
A Score Level 3
over 8 years ago
This is default browser behaviour. When you login to Appian, a cookie is stored in the browser which sends it back to Appian for each request. Your javascript is running inside the browser. I can not see any problem there.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data