|
What restrictions should I impose on usernames? why? What restrictions should I not impose on usernames? why? P.S. db is via best-practice PDO so no risk of sql injection
Thanks
Started by Chris on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Certain characters should....
Adding restrictions on the allowed characters will probably just annoy people using a non-ascii restrictions.
If your code is resistant to sql.
I've never seen the point in adding restrictions to usernames.
|
|
These days the Internet has turned the whole World in a single community. Still, many countries do have certain restrictions on software products and their source code. I couldn't help but wonder if there's a website somewhere which lists all the restrictions...
Started by Workshop Alex on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In 2000 the US relaxed its encryption export restrictions for countries which are not considered.
|
|
Where described well-known reflection restrictions for Silverlight types?
For example: if I try to set protected or private property value with PropertyInfo.SetValue method I get an exception MethodAccessException .
Why did these restrictions?
Started by Andir on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Mostly this means you....
For security purposes, reflection in Silverlight is limited to what is available at compile time .
It's just there for internal usage by the runtime.
Silverlight runs in a safe sandbox and therefore you can't use Reflection at all .
|
Ask your Facebook Friends
|
I'm getting the following error when calling a method on a C# service (connected through .net remoting).
"Because of security restrictions, the type cannot be accessed."
What is the source of this error? How can I fix it?
Started by Stimy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Apparently I was missing an updated AssemblyInfo.cs file which includes the following statement:
[assembly: AllowPartiallyTrustedCallers... .
I've seen other solutions for similar problems, but none of them were the same solution used to solve my particular problem .
|
|
I'm looking at a new computer which will probably have vista on it. But there are so many editions of vista; are there any weird restrictions on what you can run on the various editions? For instance you couldn't run IIS on Windows ME. Can you still run...
Started by stimms on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Vista Home Basic only has enough IIS.
Be that it has the same client access restrictions that XP did.
|
|
If there are types that I want to modify to meet the project requirements, what type of restrictions are there for this?
By modifying I mean:
Finding the type you are interested that is closest to what you need. Using the reflector to disassemble it. ...
Started by Joan Venge on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
A better way.
But then again, not a lawyer.
At the licensing restrictions on the original binary.
|
|
Can anyone give me a hand with techniques to generate integers that satisfy certain restrictions.
For example, say I need to generate integers x and y such that
100 > x and y < x + 5
And I don't mean this particular example but some generic techniques...
Started by Manuel on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
restrictions would be to analyze your constraints and generate numbers without guessing but knowing how.
|
|
Hi! Are there any restrictions regarding the elements that can be posted inside of the ContentPane of a dijit StackContainer? I'm asking this because I'm trying to put some div's inside it but when doing so, the content from the second Pane is displayed...
Started by sica07 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
About HTML "inside of the ContentPane....
That was what I was asking.
Yes, I know that.
If you want to add simple HTML, it should be wrapped in a ContentPane .
Same for all descendants of dijit._Container.
Only widgets are supported within StackContainer.
|
|
I'm currently maintaining some flex code and noticed very many functions which are declared like:
private function exampleFunc():void { .... }
These functions are in the global scope , and aren't part of any specific class, so it's a bit unclear to me...
Started by Nik Reiman on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The actionscript functions that are included in your mxmlc code... .
What do you mean by global scope? Are these functions declared in the main MXML file?
In general, private means that functions can only be called from within the class that declares them .
|
|
I am the owner of a project that uses open source maps for an iPhone 2.0 app. My team and I are debating whether to upgrade to the iPhone 3.0 expose Map APIs, but I suspect that Google and Apple have put restrictions in just the wrong places. What barriers...
Started by TahoeWolverine on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can use the CoreLocation APIs to fetch position information, but would... .
One very limiting feature of the map interface is you cannot implement turn by turn applications using Google map data (the dataproviders want more cash in their pocket for that) .
|