SecurityCentric is your source for Blog Aggregation in the Security industry
Speech is probably the most essential aspect of communication. Communication is made harder when anything hinders your ability to speak. Dysarthria is a motor speech condition. Dysarthria is characterized by a distortion of your speech. Dysarthria causes your speech to be slurred, hard to understand or slow. You may also have difficulty controlling...
Yesterday, after two long days of debate including the
consideration of over 100 amendments the House passed H4310, the National
Defense Authorization Act for Fiscal Year 2013, by a bipartisan vote of 299 to
120. The cyber provisions of the bill that I described in an earlier
blog remain in the bill (one with a floor revision). Three cyber-related
...
Typically I develop my websites on trunk, then merge changes to a testing branch where they are put on a 'beta' website, and then finally they are merged onto a live branch and put onto the live website.
With a Facebook application things are a bit tricky. As you can't view a Facebook application through a normal web browser (it has to go throu...
In the PHP 3.0 SDK there is no getSession() or any session handling from outside the Facebook api available. Some days ago the developers of facebook have also somehow updated the JavaScript sdk, according to this blog entry and this bug report .
Within the last few days, a change was introduced into the hosted JS SDK which broke all compa...
I have an application that integrates with Facebook using Oauth 2.
I can authorize with FB and query their REST and Graph APIs perfectly well, but when I authorize an active browser session is created with FB. I can then log-out of my application just fine, but the session with FB persists, so if anyone else uses the browser they will see the p...
When using Facebook Sharer, Facebook will offer the user the option of using 1 of a few images pulled from the source as a preview for their link. How are these images selected, and how can I ensure that any particular image on my page is always included in this list?
Source: Tips4all
In the setup dialog for the Like-Button, there are only two options for layout:
Unfortunately, the numbers for the website of my employer is nowhere near 22'000, so the powers that be have decided that we should not show the number of "likes" until said number is a little more in our favour. As far as I know, I don't hav...
We've got a PHP application and want to count all the lines of code under a specific directory and its subdirectories. We don't need to ignore comments, as we're just trying to get a rough idea.
wc -l *.php
That command works great within a given directory, but ignores subdirectories. I was thinking this might work, but it is returning 74, ...
I was just reading
ISO/IEC 9899:201x Committee Draft ” April 12, 2011
in which i found under 5.1.2.2.3 Program termination
..reaching the } that terminates the main function returns a value of 0.
it means if you don't specify any return statement in main() , and if the program runs successfully, then at the closing brace } of main w...
Briefly: Does anyone know of a GUI for gdb that brings it on par or close to the feature set you get in the more recent version of Visual C++?
In detail: As someone who has spent a lot of time programming in Windows, one of the larger stumbling blocks I've found whenever I have to code C++ in Linux is that debugging anything using commandline g...
Is there any difference between binary semaphore and mutex or they are essentialy same?
Source: Tips4all
I recently found the code below in one of my directories, in a file called doc.php . The file functions or links to a file manager. It's quite nicely done. Basically, it lists all the files in the current directory, and it lets you change directories.
It had access to all my files (add, rename, info, delete...). I don't remember installing it. ...
I'm writing an AJAX app, but as the user moves through the app, I'd like the URL in the address bar to update despite the lack of page reloads. Basically, I'd like for them to be able to bookmark at any point and thereby return to the current state.
How are people handling maintaining RESTfulness in AJAX apps? Thanks in advance.
Source: Tips4a...
After banning the word "jailbreak" from its app store and music library, Apple today reversed course and again permits the term - slang for hacking into a device to download unauthorized content -- to appear on iTunes and its App Store.On Thursday bloggers noticed Apple had censored the word, using the Thin Lizzy album "Jailbreak" as an example. Fo...
I am trying to create controller actions which will return either JSON or partial html depending upon a parameter. What is the best way to get the result returned to an MVC page asynchronously?
Source: Tips4all
Given a string of JSON data, how can you safely turn that string into a JavaScript object?
Obviously you can do this unsafely with something like...
var obj = eval("(" + json + ')');
...but that leaves us vulnerable to the json string containing other code, which it seems very dangerous to simply eval.
Source: Tips4all
I'd like to be able to automatically add new forms to a Django formset with an ajax function. I.e., the user clicks an "add" button and some javascript will add a new form (which is part of the formset) to the page.
Thanks for the help in advance. :-)
Source: Tips4all
JavaScript needs access to cookies if AJAX is used on a site with access restrictions based on cookies. Will HttpOnly cookies work on an AJAX site?
Edit: Microsoft created a way to prevent XSS attacks by disallowing JavaScript access to cookies if HttpOnly is specified. FireFox later adopted this. So my question is: If you are using AJAX on a s...
The following code gives different output when running the release inside Visual Studio, and running the release outside Visual Studio. I'm using Visual Studio 2008 and targeting .NET 3.5. I've also tried .NET 3.5 SP1.
When running outside Visual Studio, the JIT should kick in. Either (a) there's something subtle going on with C# that I'm missi...
What is the difference between Decimal , Float and Double in C#?
When would someone use one of these?
Source: Tips4all
Given that strings are immutable in .NET, I'm wondering why they have been designed such that string.Substring() takes O( substring.Length ) time, instead of O(1)?
i.e. what were the tradeoffs, if any?
Source: Tips4all
How do you give a C# Auto-Property a default value? I either use the constructor, or revert to the old syntax.
Using the Constructor:
class Person
{
public Person()
{
Name = "Default Name";
}
public string Name { get; set; }
}
Using normal property syntax (with a default value)
private string name = "Default ...
I'm getting a warning from ReSharper about a call to a virtual member from my objects constructor. Why would this be something not to do?
Source: Tips4all
i'm using the iphone sdk (3.0) and i'm trying to create an array of selectors to invoke a variety of methods within one class.
Obviously, I'm doing something wrong (I think @selector isn't considered a class and so stuffing them into an NSArray isn't working).
I tried this, but it's obviously wrong.
Is there a simple way to have an arra...
Hey all. I'm still pretty new to iPhone development, and I'm having a bit of trouble figuring out how to change the title of my Navigation Bar. On another question on this site somebody recommended using :
viewController.title = @"title text";
but that isn't working for me...Do I need to add a UINavigationController to accomplish this? Or m...
If I put only an image in a button and set the imageEdgeInsets more close to the top, the image stays centered and all works as expected:
[button setImage:image forState:UIControlStateNormal];
[button setImageEdgeInsets:UIEdgeInsetsMake(-15.0, 0.0, 0.0, 0.0)];
If I put only a text in a button and set titleEdgeInsets more close to the bottom...
I am attempting to get a UIGestureRecognizer working with a UIWebview which is a subview of a UIScrollView. This sounds odd but when I have the numberOfTouchesRequired set to 2 the selector fires, but when numberOfTouchesRequired is set to one the selector doesn't fire.
Here is my code:
UITapGestureRecognizer *tap1 = [[UITapGestureRecognizer...
I have a webview that is loading a page from the Internet. I want to show a progressbar until the loading is complete.
How do I listen for the completion of page loading of a WebView ?
Source: Tips4all
I am teaching a web development course at a CS department, I wrote most of the final test by now, each question focus on a specific feature or a specific technology,
I wonder if you can think of/recommend a question that combine the knowledge of few technologies..
The course mostly covers: HTML, CSS, JS, HTTP, Servlets, JSP and JDBC. (as we...
I am working with Java. If I hit Ctrl + Shift + F in Eclipse Helios, it will auto format my code. At a certain point, it wraps lines. I would like to increase the maximum line length. How can I do this?
Source: Tips4all
I realize that to become a better programmer, you need to program! So obviously the more practice, the better you become.
My problem is this. I am currently in university, and I find my course load is a bit daunting, and I don't have a lot of free time. I don't think I could really take on a big project, particularly I don't think I would have ...
What does '$' - sign in JQuery stand for?
Source: Tips4all
I have a div (let's say the id is "container") with many elements in it, including a select element. I'd like to select all everything in the div except the select. Things I've tried:
$("#container *:not(select)")
$("#container *:not(#selectorid)")
//put a div around the select and...
$("#container *:not(#selectorcontainer)")
$("#container *:no...
How can i add "readonly" to a specific <input > ? .attr('readonly') does not work.
Source: Tips4all
I have a floating div that gets displayed, and I want it to be hidden when the user clicks off the div. This would be similar to the .hover() funtion callback when hovering off an element. Only I want to do this for click.
I tried just setting a click event for the body, which would hide the div, but that gave unexpected results.
Anyone hav...
Looking for a date and datetime picker that will integrate fairly seamlessly with Rails. I'm sure some people must be using something similar. I have tried
the unobtrusive date picker plugin but it breaks with the latest release of Rails.
calendar date select plugin uses prototype which I have removed from my a...
I've been struggling lately with understanding the best way to organize jQuery code. I asked another question earlier and I don't think I was specific enough ( found in this question here ).
My problem is that the richer you make an application, the quicker your client side gets out of control. Consider this situation...
//Let's start some j...
How to pass parameter while call a function using setInterval. viz. setInterval('funca(10,3)',500); is incorrect.
Source: Tips4all
What is the best way (and I presume simplest way) to place the cursor at the end of the text in a input text element via JavaScript - after focus has been set to the element?
Source: Tips4all
Is it possible to position an element fixed relative to the viewport in Mobile Safari? As many have noted, position: fixed doesn't work, but Gmail just came out with a solution that almost is what I want “ see the floating menu bar on the message view.
Getting real-time scroll events in JavaScript would also be a reasonable solution.
Source: T...
I have problem with my .htaccess redirections. When I type:
http://www.domain.com/contact
it goes to the index.php and not the contact.php
here's my .htaccess:
Redirect 301 /clients http://clients.domain.com
RewriteEngine On
SetEnvIf Host ^www. page=www
SetEnvIf Host ^mob. page=mobile
RewriteBase /
SetEnvIfNoCase User-Agent "^Wget"...
I am creating rules in my .htaccess for mobile, or bad pages etc...
I am using these rules:
rewriterules badpage /goodpage.html [r=302]
rewriterules iphone /iphone.html [r=301]
Which one is better to use?
I know is temporary and permanent, but when a temporary becomes permanent, my understanding is both do the same thing so same re...
i digg on the internet about .htaccess and rewrite rules i need to do with my site.
i saw something i dont understand and want to know what it means
i am wondering what is the difference between the 2 regular expression that i need to use for my site among all others i need to use):
RewriteRule ^home$ mainpage.php?id=$1 [QSA]
and
...
I need to create SEO-friendly urls for my site. I found out I can use .htaccess to rewrite them. So I tried this:
> http://www.domain.com/page/1/mypage
> http://www.domain.com/user/2/myuser
> http://www.domain.com/help/3/myhelp
Now I am stuck with a common rule and I don't understand Ant to redirect traffic based on the name of the...
New study by IBM
A study by IBM’s Center for Applied Insights concludes that there are now three ‘types’ of CISO: influencers, protectors and responders. Evolution towards the ‘influencer’ role is necessary, and happening.
Security is now seen as a vital aspect of business, and the role and influence of the chief information security officer is co...
Trending Security News Security news stories this week focused on smartphone security and GPS tracking; our Security Development Conference in DC; and a report on security technology trends with a few stories also covering malware stats and cyber-attacks...(read more)
Defense giant Northrop Grumman is hiring software engineers to help it carry out "offensive cyberspace operations," according to a recent job posting.
Defense giant Northrop Grumman is hiring software engineers to help it carry out "offensive cyberspace operations," according to a recent job posting.
...
UPDATE--An Android handset produced by Chinese manufacturer ZTE has a backdoor installed that could enable an attacker to take control of an affected device remotely and run arbitrary code. The manufacturer has acknowledged the issue in the ZTE Score M, which includes a harcoded password, and says that it plans to push out a fix soon. read more...
Alerts issued by Visa and Mastercard earlier this week suggest that a breach at payment processor Global Payments dates to January 2011, a full year earlier than the company initially announced.
Alerts issued by Visa and Mastercard earlier this week suggest that a breach at payment processor Global Payments dat...
A class action lawsuit filed against the social networking giant combines 21 lawsuits from across the country. Separately, a German official has also expressed concerns about Facebook's privacy approach as well. - A class action lawsuit filed against Facebook in California is seeking a whopping $15 billion in damages for privacy violations tied ...
- Welcome!
- SecurityCentric aggregates blogs for the Security industry.
- Custom Feeds
- Add any RSS feed to the information you read daily.
- Blocked Feeds
- Block feeds to remove blogs you’re not interested in.
- Account Settings
- Customize the site by adding or removing feeds.
Don’t have an account yet?
- Customize your settings
- Edit how your blog displays
- Add or remove blogs you read. Sign Up.
About Us
SecurityCentric is your source for all your Security news.
Have a Suggestion for Us?
|
Know of a Security blog that we're missing? Let us know!
|
Share SecurityCentric.com